package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.cashadvance.CashAdvanceSuccessBean;
import cn.rongdao.jrkabao.ui.cashadvance.uicomponent.ItemCashAdvanceSuccessUIComponent;

/**
 * Created by jack on 2017/6/2
 */

public class CashAdvanceSuccessViewHolder extends FRBaseRecyclerViewHolder<CashAdvanceSuccessBean.CashListBean> {

    private ItemCashAdvanceSuccessUIComponent itemCashAdvanceSuccessUIComponent;

    public CashAdvanceSuccessViewHolder(View view) {
        super(view);
        itemCashAdvanceSuccessUIComponent = findView(R.id.ics_ll_main);
    }

    @Override
    protected void onItemDataUpdated(CashAdvanceSuccessBean.CashListBean cashAdvanceSuccessBean) {
        itemCashAdvanceSuccessUIComponent.setContent(cashAdvanceSuccessBean);
    }
}